<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>五彩导航栏</title>
</head>
<style>
    .item {
        display: inline-block;
        width: 90px;
        height: 35px;
        background-color: rgb(100, 219, 219);
        line-height: 35px;
        text-align: center;
        text-decoration: none;
        color: rgb(241, 238, 238);
        background: url(尉迟鹤泽/bjt.png) no-repeat;
    }
    
    .item:hover {
        background-position: -86px -220px;
    }

    .bg1 {
        background-position: -86px -19px;
    }

    .bg2 {
        background-position: -86px -57px;
    }

    .bg3 {
        background-position: -86px -98px;
    }

    .bg4 {
        background-position: -86px -138.5px;
    }

    .bg5 {
        background-position: -86px -179.5px;
    }
</style>
<body>
    <div class="nav">
        <a href="#" class="item bg1">导航栏</a>
        <a href="#" class="item bg2">导航栏</a>
        <a href="#" class="item bg3">导航栏</a>
        <a href="#" class="item bg4">导航栏</a>
        <a href="#" class="item bg5">导航栏</a>
    </div>
</body>
</html>